@import './normalize.scss';

* {
  box-sizing: border-box;
}
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td,
hr,
button,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  margin: 0;
  padding: 0;
}
button,
i {
  cursor: pointer;
}
ul li {
  list-style: none;
}

button,
input,
select,
textarea {
  border: none;
  outline: none;
  font-family: 'SLIDE-YR';
  font-size: $font-size;
}

h1,
h2,
h3,
h4,
h5,
p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
img {
  object-fit: cover;
}
/* 设置滚动条的样式 */
::-webkit-scrollbar {
  width: 12px;
}
/* 滚动槽 */
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset006pxrgba(0, 0, 0, 0.3);
  border-radius: 10px;
}
/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: inset006pxrgba(0, 0, 0, 0.5);
}
::-webkit-scrollbar-thumb:window-inactive {
  background: #8c8e90;
}

a {
  text-decoration: none;
}

code {
  font-family: $code-family;
}

.tc {
  text-align: center;
}
.tl {
  text-align: left;
}
.tr {
  text-align: right;
}
